package com.cykj.v_m_sprintboot.mapper;

import com.cykj.v_m_sprintboot.bean.TbInput;
import com.cykj.v_m_sprintboot.bean.TbOut;
import com.cykj.v_m_sprintboot.bean.TbWarehouseListInf;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TbOutMapper {
    List<TbOut> outGetSupplier(@Param(value ="warehouseId") int warehouseId);
    List<TbOut> getInputWarehouseName();
    List<TbOut> outGtGoodsType(TbOut tbOut);
    List<TbOut> OutGetGoodsName (TbOut tbOut);
    int outGetGoodsNum (TbOut tbOut);
    List<TbOut> selectOperator(@Param(value ="warehouseStateId") int warehouseStateId);
    boolean addOutData(TbOut tbOut);
    boolean updateInputNum(TbOut tbOut);
    boolean updateWarehouseTime(TbOut tbOut);
    int count(TbOut tbOut);
    List<TbOut> outInf(TbOut tbOut, RowBounds row);
    boolean delOut(TbOut tbOut);
    double countTbWarehouseListInf(TbOut tbOut);
    boolean updateTbWarehouseListInfNum (TbOut tbOut);
}
